package nml.mail.reg.await;

import nml.mail.reg.Reg;

import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;

public class  baihui_com extends Reg{

	
	//要邮箱验证
	public void reg(String username, String password) {		
		

		String url = "http://ipassport.baihui.com/register/index";
		get(url);
		
		dr.findElement(By.name("lid")).sendKeys(username);
		dr.findElement(By.name("eid")).sendKeys("nml186@126.com");
		
		dr.findElement(By.name("pwd")).sendKeys(password);
		dr.findElement(By.name("cpwd")).sendKeys(password);
		
 	
		dr.findElement(By.name("agree")).click();
		dr.findElement(By.name("HIP")).click();
		
	}

	public static void main(String[] args) {
		new baihui_com().reg("qq331798654", "qq3131798654");
	}
	
	
}
